package com.yhcui.rabbit.graphql.demo1;

import graphql.kickstart.tools.GraphQLQueryResolver;
import org.springframework.stereotype.Component;

@Component
public class Query implements GraphQLQueryResolver {


    public Book bookById(String id) {
        return Book.builder().build();
    }
}
